package com.yfp.operation.domain.vo;

import com.yfp.common.core.annotation.Excel;
import com.yfp.operation.domain.PositionSharing;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 *
 * @version 1.0
 * @date 2024-06-11 15:59
 */
@Data
@Tag(name = "获取设备分账详情实体类")
public class SubAccountVO {

    /**
     * 设备编号
     */
    @Schema(description = "设备编号")
    @Excel(name = "设备编号", needMerge = true)
    private String machineId;
    /**
     * 分账比例
     */
    @Schema(description = "分账比例")
    @Excel(name = "分账比例（%）", needMerge = true)
    private BigDecimal proportion;
    /**
     * 交易手续费
     */
    @Schema(description = "交易手续费")
    @Excel(name = "交易手续费（%）", needMerge = true)
    private BigDecimal feeRate;
    /**
     * 交易总金额
     */
    @Schema(description = "交易实付总金额")
    @Excel(name = "交易实付总金额", needMerge = true)
    private Double sumMoney;

    @Schema(description = "赠送金额")
    @Excel(name = "赠送金额", needMerge = true)
    private BigDecimal giftGold;
    /**
     * 分账总金额
     */
    @Schema(description = "分账总金额")
    @Excel(name = "分账总金额", needMerge = true)
    private Double subMoney;
    /**
     * 待结算资金
     */
    @Schema(description = "待结算资金")
    @Excel(name = "当前待结算资金", needMerge = true)
    private Double freezeMoney;
    /**
     * 可提现资金
     */
    @Schema(description = "可提现资金")
    @Excel(name = "可提现金额", needMerge = true)
    private Double canWithdrawMoney;
    /**
     * 已提现资金
     */
    @Schema(description = "已提现资金")
    @Excel(name = "已提现金额", needMerge = true)
    private Double alreadyWithdrawMoney;

    /**
     * 创客列表
     */
    @Schema(description = "创客列表")
    @Excel(name = "收款方名字&账号", needMerge = true)
    private List<PositionSharing> positionSharingList;

    private String positionId;

}
